<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: TIM Exported Macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('group___t_i_m___exported___macros.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">TIM Exported Macros <div class="ingroups"><a class="el" href="group___s_t_m32_h7xx___h_a_l___driver.html">STM32H7xx_HAL_Driver</a> &raquo; <a class="el" href="group___t_i_m.html">TIM</a></div></div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-define-members" class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gace20fd4e38231b9682fbc83a80ec19a3" id="r_gace20fd4e38231b9682fbc83a80ec19a3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gace20fd4e38231b9682fbc83a80ec19a3">__HAL_TIM_RESET_HANDLE_STATE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gace20fd4e38231b9682fbc83a80ec19a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset TIM handle state.  <br /></td></tr>
<tr class="memitem:ga1a90544705059e9f19f991651623b0c0" id="r_ga1a90544705059e9f19f991651623b0c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1a90544705059e9f19f991651623b0c0">__HAL_TIM_ENABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga1a90544705059e9f19f991651623b0c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the TIM peripheral.  <br /></td></tr>
<tr class="memitem:ga04890dcef3ed061854721a3672585607" id="r_ga04890dcef3ed061854721a3672585607"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga04890dcef3ed061854721a3672585607">__HAL_TIM_MOE_ENABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga04890dcef3ed061854721a3672585607"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the TIM main Output.  <br /></td></tr>
<tr class="memitem:ga6a5e653e0e06a04151b74eb1a5f96eb6" id="r_ga6a5e653e0e06a04151b74eb1a5f96eb6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga6a5e653e0e06a04151b74eb1a5f96eb6">__HAL_TIM_DISABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga6a5e653e0e06a04151b74eb1a5f96eb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the TIM peripheral.  <br /></td></tr>
<tr class="memitem:ga69d63e147faeca8909e9679f684c0325" id="r_ga69d63e147faeca8909e9679f684c0325"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga69d63e147faeca8909e9679f684c0325">__HAL_TIM_MOE_DISABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga69d63e147faeca8909e9679f684c0325"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the TIM main Output.  <br /></td></tr>
<tr class="memitem:gaa5c4053e8e57dc234efecbb698287b55" id="r_gaa5c4053e8e57dc234efecbb698287b55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa5c4053e8e57dc234efecbb698287b55">__HAL_TIM_MOE_DISABLE_UNCONDITIONALLY</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gaa5c4053e8e57dc234efecbb698287b55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the TIM main Output.  <br /></td></tr>
<tr class="memitem:ga4d69943bc4716743c78e3194e259097e" id="r_ga4d69943bc4716743c78e3194e259097e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga4d69943bc4716743c78e3194e259097e">__HAL_TIM_ENABLE_IT</a>(__HANDLE__,  __INTERRUPT__)</td></tr>
<tr class="memdesc:ga4d69943bc4716743c78e3194e259097e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the specified TIM interrupt.  <br /></td></tr>
<tr class="memitem:ga31d67e905bc62e3142179dc4bbf8ba64" id="r_ga31d67e905bc62e3142179dc4bbf8ba64"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga31d67e905bc62e3142179dc4bbf8ba64">__HAL_TIM_DISABLE_IT</a>(__HANDLE__,  __INTERRUPT__)</td></tr>
<tr class="memdesc:ga31d67e905bc62e3142179dc4bbf8ba64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the specified TIM interrupt.  <br /></td></tr>
<tr class="memitem:gabb91ccd46cd7204c87170a1ea5b38135" id="r_gabb91ccd46cd7204c87170a1ea5b38135"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabb91ccd46cd7204c87170a1ea5b38135">__HAL_TIM_ENABLE_DMA</a>(__HANDLE__,  __DMA__)</td></tr>
<tr class="memdesc:gabb91ccd46cd7204c87170a1ea5b38135"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable the specified DMA request.  <br /></td></tr>
<tr class="memitem:ga1a6e8b19efd23fd0295802d904c4702f" id="r_ga1a6e8b19efd23fd0295802d904c4702f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1a6e8b19efd23fd0295802d904c4702f">__HAL_TIM_DISABLE_DMA</a>(__HANDLE__,  __DMA__)</td></tr>
<tr class="memdesc:ga1a6e8b19efd23fd0295802d904c4702f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the specified DMA request.  <br /></td></tr>
<tr class="memitem:ga96d98c66ad9d85f00c148de99888ef19" id="r_ga96d98c66ad9d85f00c148de99888ef19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga96d98c66ad9d85f00c148de99888ef19">__HAL_TIM_GET_FLAG</a>(__HANDLE__,  __FLAG__)</td></tr>
<tr class="memdesc:ga96d98c66ad9d85f00c148de99888ef19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the specified TIM interrupt flag is set or not.  <br /></td></tr>
<tr class="memitem:ga2fe74db6b8cb4badd04ed48e0f5ac7b4" id="r_ga2fe74db6b8cb4badd04ed48e0f5ac7b4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga2fe74db6b8cb4badd04ed48e0f5ac7b4">__HAL_TIM_CLEAR_FLAG</a>(__HANDLE__,  __FLAG__)</td></tr>
<tr class="memdesc:ga2fe74db6b8cb4badd04ed48e0f5ac7b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the specified TIM interrupt flag.  <br /></td></tr>
<tr class="memitem:ga644babf93470a6eee6bce8906c4da5c5" id="r_ga644babf93470a6eee6bce8906c4da5c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga644babf93470a6eee6bce8906c4da5c5">__HAL_TIM_GET_IT_SOURCE</a>(__HANDLE__,  __INTERRUPT__)</td></tr>
<tr class="memdesc:ga644babf93470a6eee6bce8906c4da5c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether the specified TIM interrupt source is enabled or not.  <br /></td></tr>
<tr class="memitem:gaea68155ce77e591e0c2582def061d6f0" id="r_gaea68155ce77e591e0c2582def061d6f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaea68155ce77e591e0c2582def061d6f0">__HAL_TIM_CLEAR_IT</a>(__HANDLE__,  __INTERRUPT__)</td></tr>
<tr class="memdesc:gaea68155ce77e591e0c2582def061d6f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the TIM interrupt pending bits.  <br /></td></tr>
<tr class="memitem:ga70b3690dfed282ade70d503801b8bfd0" id="r_ga70b3690dfed282ade70d503801b8bfd0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga70b3690dfed282ade70d503801b8bfd0">__HAL_TIM_UIFREMAP_ENABLE</a>(__HANDLE__)</td></tr>
<tr class="memitem:ga3ad980b67f6a9d43e97cd71603421ad8" id="r_ga3ad980b67f6a9d43e97cd71603421ad8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga3ad980b67f6a9d43e97cd71603421ad8">__HAL_TIM_UIFREMAP_DISABLE</a>(__HANDLE__)</td></tr>
<tr class="memitem:ga12126f9a7655afcd862fc2e82686e9b9" id="r_ga12126f9a7655afcd862fc2e82686e9b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga12126f9a7655afcd862fc2e82686e9b9">__HAL_TIM_GET_UIFCPY</a>(__COUNTER__)</td></tr>
<tr class="memitem:gac73f5e7669d92971830481e7298e98ba" id="r_gac73f5e7669d92971830481e7298e98ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gac73f5e7669d92971830481e7298e98ba">__HAL_TIM_IS_TIM_COUNTING_DOWN</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gac73f5e7669d92971830481e7298e98ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates whether or not the TIM Counter is used as downcounter.  <br /></td></tr>
<tr class="memitem:gafdc5a06eab07e0c24e729fd492bdb27c" id="r_gafdc5a06eab07e0c24e729fd492bdb27c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gafdc5a06eab07e0c24e729fd492bdb27c">__HAL_TIM_SET_PRESCALER</a>(__HANDLE__,  __PRESC__)</td></tr>
<tr class="memdesc:gafdc5a06eab07e0c24e729fd492bdb27c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Prescaler on runtime.  <br /></td></tr>
<tr class="memitem:ga9746ac75e4cd25cec1a9ebac8cb82b97" id="r_ga9746ac75e4cd25cec1a9ebac8cb82b97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9746ac75e4cd25cec1a9ebac8cb82b97">__HAL_TIM_SET_COUNTER</a>(__HANDLE__,  __COUNTER__)</td></tr>
<tr class="memdesc:ga9746ac75e4cd25cec1a9ebac8cb82b97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Counter Register value on runtime. Note Please check if the bit 31 of CNT register is used as UIF copy or not, this may affect the counter range in case of 32 bits counter TIM instance. Bit 31 of CNT can be enabled/disabled using <a class="el" href="#ga70b3690dfed282ade70d503801b8bfd0">__HAL_TIM_UIFREMAP_ENABLE()</a>/__HAL_TIM_UIFREMAP_DISABLE() macros.  <br /></td></tr>
<tr class="memitem:gaf1af08014b9d06efbbb091d58d47c8ba" id="r_gaf1af08014b9d06efbbb091d58d47c8ba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaf1af08014b9d06efbbb091d58d47c8ba">__HAL_TIM_GET_COUNTER</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gaf1af08014b9d06efbbb091d58d47c8ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the TIM Counter Register value on runtime.  <br /></td></tr>
<tr class="memitem:ga1e6300cab1e34ecaaf490dc7d4812d69" id="r_ga1e6300cab1e34ecaaf490dc7d4812d69"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1e6300cab1e34ecaaf490dc7d4812d69">__HAL_TIM_SET_AUTORELOAD</a>(__HANDLE__,  __AUTORELOAD__)</td></tr>
<tr class="memdesc:ga1e6300cab1e34ecaaf490dc7d4812d69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Autoreload Register value on runtime without calling another time any Init function.  <br /></td></tr>
<tr class="memitem:gaa7a5c7645695bad15bacd402513a028a" id="r_gaa7a5c7645695bad15bacd402513a028a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa7a5c7645695bad15bacd402513a028a">__HAL_TIM_GET_AUTORELOAD</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gaa7a5c7645695bad15bacd402513a028a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the TIM Autoreload Register value on runtime.  <br /></td></tr>
<tr class="memitem:ga8aa84d77c670890408092630f9b2bdc4" id="r_ga8aa84d77c670890408092630f9b2bdc4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga8aa84d77c670890408092630f9b2bdc4">__HAL_TIM_SET_CLOCKDIVISION</a>(__HANDLE__,  __CKD__)</td></tr>
<tr class="memdesc:ga8aa84d77c670890408092630f9b2bdc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Clock Division value on runtime without calling another time any Init function.  <br /></td></tr>
<tr class="memitem:gae6bc91bb5940bce52828c690f24001b8" id="r_gae6bc91bb5940bce52828c690f24001b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gae6bc91bb5940bce52828c690f24001b8">__HAL_TIM_GET_CLOCKDIVISION</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gae6bc91bb5940bce52828c690f24001b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the TIM Clock Division value on runtime.  <br /></td></tr>
<tr class="memitem:gaeb106399b95ef02cec502f58276a0e92" id="r_gaeb106399b95ef02cec502f58276a0e92"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaeb106399b95ef02cec502f58276a0e92">__HAL_TIM_SET_ICPRESCALER</a>(__HANDLE__,  __CHANNEL__,  __ICPSC__)</td></tr>
<tr class="memdesc:gaeb106399b95ef02cec502f58276a0e92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function.  <br /></td></tr>
<tr class="memitem:gabfeec6b3c67a5747c7dbd20aff61d8e2" id="r_gabfeec6b3c67a5747c7dbd20aff61d8e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gabfeec6b3c67a5747c7dbd20aff61d8e2">__HAL_TIM_GET_ICPRESCALER</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:gabfeec6b3c67a5747c7dbd20aff61d8e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the TIM Input Capture prescaler on runtime.  <br /></td></tr>
<tr class="memitem:ga300d0c9624c3b072d3afeb7cef639b66" id="r_ga300d0c9624c3b072d3afeb7cef639b66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga300d0c9624c3b072d3afeb7cef639b66">__HAL_TIM_SET_COMPARE</a>(__HANDLE__,  __CHANNEL__,  __COMPARE__)</td></tr>
<tr class="memdesc:ga300d0c9624c3b072d3afeb7cef639b66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Capture Compare Register value on runtime without calling another time ConfigChannel function.  <br /></td></tr>
<tr class="memitem:gaa40722f56910966e1da5241b610eed84" id="r_gaa40722f56910966e1da5241b610eed84"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa40722f56910966e1da5241b610eed84">__HAL_TIM_GET_COMPARE</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:gaa40722f56910966e1da5241b610eed84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the TIM Capture Compare Register value on runtime.  <br /></td></tr>
<tr class="memitem:ga199e848f0a301987a500faea0db2dd70" id="r_ga199e848f0a301987a500faea0db2dd70"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga199e848f0a301987a500faea0db2dd70">__HAL_TIM_ENABLE_OCxPRELOAD</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:ga199e848f0a301987a500faea0db2dd70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Output compare preload.  <br /></td></tr>
<tr class="memitem:ga3e0ec4eb797b54c408a3be067f41a2f8" id="r_ga3e0ec4eb797b54c408a3be067f41a2f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga3e0ec4eb797b54c408a3be067f41a2f8">__HAL_TIM_DISABLE_OCxPRELOAD</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:ga3e0ec4eb797b54c408a3be067f41a2f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the TIM Output compare preload.  <br /></td></tr>
<tr class="memitem:ga390795eb198214e5d4ed235ae3f751e4" id="r_ga390795eb198214e5d4ed235ae3f751e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga390795eb198214e5d4ed235ae3f751e4">__HAL_TIM_ENABLE_OCxFAST</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:ga390795eb198214e5d4ed235ae3f751e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable fast mode for a given channel.  <br /></td></tr>
<tr class="memitem:gab9f8dc78886759192b5f044c7b9b0aa7" id="r_gab9f8dc78886759192b5f044c7b9b0aa7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gab9f8dc78886759192b5f044c7b9b0aa7">__HAL_TIM_DISABLE_OCxFAST</a>(__HANDLE__,  __CHANNEL__)</td></tr>
<tr class="memdesc:gab9f8dc78886759192b5f044c7b9b0aa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable fast mode for a given channel.  <br /></td></tr>
<tr class="memitem:ga3b06856bd6d7e10cfff342b1726db51d" id="r_ga3b06856bd6d7e10cfff342b1726db51d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga3b06856bd6d7e10cfff342b1726db51d">__HAL_TIM_URS_ENABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:ga3b06856bd6d7e10cfff342b1726db51d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Update Request Source (URS) bit of the TIMx_CR1 register.  <br /></td></tr>
<tr class="memitem:gafacb551a4c537e62a0fe740b2f12236c" id="r_gafacb551a4c537e62a0fe740b2f12236c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gafacb551a4c537e62a0fe740b2f12236c">__HAL_TIM_URS_DISABLE</a>(__HANDLE__)</td></tr>
<tr class="memdesc:gafacb551a4c537e62a0fe740b2f12236c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the Update Request Source (URS) bit of the TIMx_CR1 register.  <br /></td></tr>
<tr class="memitem:gac5d6989516caa67fae23a9329228cdc7" id="r_gac5d6989516caa67fae23a9329228cdc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gac5d6989516caa67fae23a9329228cdc7">__HAL_TIM_SET_CAPTUREPOLARITY</a>(__HANDLE__,  __CHANNEL__,  __POLARITY__)</td></tr>
<tr class="memdesc:gac5d6989516caa67fae23a9329228cdc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TIM Capture x input polarity on runtime.  <br /></td></tr>
<tr class="memitem:gace8f6dae3653111344f4ff6bbfde7d2a" id="r_gace8f6dae3653111344f4ff6bbfde7d2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gace8f6dae3653111344f4ff6bbfde7d2a">__HAL_TIM_SELECT_CCDMAREQUEST</a>(__HANDLE__,  __CCDMA__)</td></tr>
<tr class="memdesc:gace8f6dae3653111344f4ff6bbfde7d2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the Capture/compare DMA request source.  <br /></td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<a name="doc-define-members" id="doc-define-members"></a><h2 id="header-doc-define-members" class="groupheader">Macro Definition Documentation</h2>
<a id="ga2fe74db6b8cb4badd04ed48e0f5ac7b4" name="ga2fe74db6b8cb4badd04ed48e0f5ac7b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2fe74db6b8cb4badd04ed48e0f5ac7b4">&#9670;&#160;</a></span>__HAL_TIM_CLEAR_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_CLEAR_FLAG</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__FLAG__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;SR = ~(__FLAG__))</div>
</div><!-- fragment -->
<p>Clear the specified TIM interrupt flag. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__FLAG__</td><td>specifies the TIM interrupt flag to clear. This parameter can be one of the following values: <ul>
<li>TIM_FLAG_UPDATE: Update interrupt flag </li>
<li>TIM_FLAG_CC1: Capture/Compare 1 interrupt flag </li>
<li>TIM_FLAG_CC2: Capture/Compare 2 interrupt flag </li>
<li>TIM_FLAG_CC3: Capture/Compare 3 interrupt flag </li>
<li>TIM_FLAG_CC4: Capture/Compare 4 interrupt flag </li>
<li>TIM_FLAG_CC5: Compare 5 interrupt flag </li>
<li>TIM_FLAG_CC6: Compare 6 interrupt flag </li>
<li>TIM_FLAG_COM: Commutation interrupt flag </li>
<li>TIM_FLAG_TRIGGER: Trigger interrupt flag </li>
<li>TIM_FLAG_BREAK: Break interrupt flag </li>
<li>TIM_FLAG_BREAK2: Break 2 interrupt flag </li>
<li>TIM_FLAG_SYSTEM_BREAK: System Break interrupt flag </li>
<li>TIM_FLAG_CC1OF: Capture/Compare 1 overcapture flag </li>
<li>TIM_FLAG_CC2OF: Capture/Compare 2 overcapture flag </li>
<li>TIM_FLAG_CC3OF: Capture/Compare 3 overcapture flag </li>
<li>TIM_FLAG_CC4OF: Capture/Compare 4 overcapture flag </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of <b>FLAG</b> (TRUE or FALSE). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaea68155ce77e591e0c2582def061d6f0" name="gaea68155ce77e591e0c2582def061d6f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaea68155ce77e591e0c2582def061d6f0">&#9670;&#160;</a></span>__HAL_TIM_CLEAR_IT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_CLEAR_IT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__INTERRUPT__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;SR = ~(__INTERRUPT__))</div>
</div><!-- fragment -->
<p>Clear the TIM interrupt pending bits. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
    <tr><td class="paramname">__INTERRUPT__</td><td>specifies the interrupt pending bit to clear. This parameter can be one of the following values: <ul>
<li>TIM_IT_UPDATE: Update interrupt </li>
<li>TIM_IT_CC1: Capture/Compare 1 interrupt </li>
<li>TIM_IT_CC2: Capture/Compare 2 interrupt </li>
<li>TIM_IT_CC3: Capture/Compare 3 interrupt </li>
<li>TIM_IT_CC4: Capture/Compare 4 interrupt </li>
<li>TIM_IT_COM: Commutation interrupt </li>
<li>TIM_IT_TRIGGER: Trigger interrupt </li>
<li>TIM_IT_BREAK: Break interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6a5e653e0e06a04151b74eb1a5f96eb6" name="ga6a5e653e0e06a04151b74eb1a5f96eb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a5e653e0e06a04151b74eb1a5f96eb6">&#9670;&#160;</a></span>__HAL_TIM_DISABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_DISABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span> { \</div>
<div class="line">    if (((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxE_MASK) == 0UL) \</div>
<div class="line">    { \</div>
<div class="line">      if(((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxNE_MASK) == 0UL) \</div>
<div class="line">      { \</div>
<div class="line">        (__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= ~(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga93d86355e5e3b399ed45e1ca83abed2a">TIM_CR1_CEN</a>); \</div>
<div class="line">      } \</div>
<div class="line">    } \</div>
<div class="line">  } <span class="keywordflow">while</span>(0)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga93d86355e5e3b399ed45e1ca83abed2a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga93d86355e5e3b399ed45e1ca83abed2a">TIM_CR1_CEN</a></div><div class="ttdeci">#define TIM_CR1_CEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19371</div></div>
</div><!-- fragment -->
<p>Disable the TIM peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1a6e8b19efd23fd0295802d904c4702f" name="ga1a6e8b19efd23fd0295802d904c4702f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a6e8b19efd23fd0295802d904c4702f">&#9670;&#160;</a></span>__HAL_TIM_DISABLE_DMA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_DISABLE_DMA</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__DMA__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;DIER &amp;= ~(__DMA__))</div>
</div><!-- fragment -->
<p>Disable the specified DMA request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__DMA__</td><td>specifies the TIM DMA request to disable. This parameter can be one of the following values: <ul>
<li>TIM_DMA_UPDATE: Update DMA request </li>
<li>TIM_DMA_CC1: Capture/Compare 1 DMA request </li>
<li>TIM_DMA_CC2: Capture/Compare 2 DMA request </li>
<li>TIM_DMA_CC3: Capture/Compare 3 DMA request </li>
<li>TIM_DMA_CC4: Capture/Compare 4 DMA request </li>
<li>TIM_DMA_COM: Commutation DMA request </li>
<li>TIM_DMA_TRIGGER: Trigger DMA request </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga31d67e905bc62e3142179dc4bbf8ba64" name="ga31d67e905bc62e3142179dc4bbf8ba64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga31d67e905bc62e3142179dc4bbf8ba64">&#9670;&#160;</a></span>__HAL_TIM_DISABLE_IT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_DISABLE_IT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__INTERRUPT__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;DIER &amp;= ~(__INTERRUPT__))</div>
</div><!-- fragment -->
<p>Disable the specified TIM interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__INTERRUPT__</td><td>specifies the TIM interrupt source to disable. This parameter can be one of the following values: <ul>
<li>TIM_IT_UPDATE: Update interrupt </li>
<li>TIM_IT_CC1: Capture/Compare 1 interrupt </li>
<li>TIM_IT_CC2: Capture/Compare 2 interrupt </li>
<li>TIM_IT_CC3: Capture/Compare 3 interrupt </li>
<li>TIM_IT_CC4: Capture/Compare 4 interrupt </li>
<li>TIM_IT_COM: Commutation interrupt </li>
<li>TIM_IT_TRIGGER: Trigger interrupt </li>
<li>TIM_IT_BREAK: Break interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab9f8dc78886759192b5f044c7b9b0aa7" name="gab9f8dc78886759192b5f044c7b9b0aa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab9f8dc78886759192b5f044c7b9b0aa7">&#9670;&#160;</a></span>__HAL_TIM_DISABLE_OCxFAST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_DISABLE_OCxFAST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab9c5878e85ce02c22d8a374deebd1b6e">~TIM_CCMR1_OC1FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3bf610cf77c3c6c936ce7c4f85992e6c">~TIM_CCMR1_OC2FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae6d8d2847058747ce23a648668ce4dba">~TIM_CCMR2_OC3FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga70dc197250c2699d470aea1a7a42ad57">~TIM_CCMR2_OC4FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab1bfc494938e6bc6cecf58fe5200956a">~TIM_CCMR3_OC5FE</a>) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga0edb08af3da878d46153477508fbbbf8">~TIM_CCMR3_OC6FE</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga0edb08af3da878d46153477508fbbbf8"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga0edb08af3da878d46153477508fbbbf8">TIM_CCMR3_OC6FE</a></div><div class="ttdeci">#define TIM_CCMR3_OC6FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:20023</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga3bf610cf77c3c6c936ce7c4f85992e6c"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga3bf610cf77c3c6c936ce7c4f85992e6c">TIM_CCMR1_OC2FE</a></div><div class="ttdeci">#define TIM_CCMR1_OC2FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19666</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga70dc197250c2699d470aea1a7a42ad57"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga70dc197250c2699d470aea1a7a42ad57">TIM_CCMR2_OC4FE</a></div><div class="ttdeci">#define TIM_CCMR2_OC4FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19747</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab1bfc494938e6bc6cecf58fe5200956a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab1bfc494938e6bc6cecf58fe5200956a">TIM_CCMR3_OC5FE</a></div><div class="ttdeci">#define TIM_CCMR3_OC5FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:20004</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab9c5878e85ce02c22d8a374deebd1b6e"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab9c5878e85ce02c22d8a374deebd1b6e">TIM_CCMR1_OC1FE</a></div><div class="ttdeci">#define TIM_CCMR1_OC1FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19641</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gae6d8d2847058747ce23a648668ce4dba"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gae6d8d2847058747ce23a648668ce4dba">TIM_CCMR2_OC3FE</a></div><div class="ttdeci">#define TIM_CCMR2_OC3FE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19722</div></div>
<div class="ttc" id="agroup___t_i_m___channel_html_ga33e02d43345a7ac5886f01b39e4f7ccd"><div class="ttname"><a href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a></div><div class="ttdeci">#define TIM_CHANNEL_2</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:783</div></div>
<div class="ttc" id="agroup___t_i_m___channel_html_ga4ea100c1789b178f3cb46721b7257e2d"><div class="ttname"><a href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a></div><div class="ttdeci">#define TIM_CHANNEL_3</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:784</div></div>
<div class="ttc" id="agroup___t_i_m___channel_html_ga6b1541e4a49d62610899e24bf23f4879"><div class="ttname"><a href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a></div><div class="ttdeci">#define TIM_CHANNEL_1</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:782</div></div>
<div class="ttc" id="agroup___t_i_m___channel_html_gad59ef74820ee8bf77fa1f8d589fde2ac"><div class="ttname"><a href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a></div><div class="ttdeci">#define TIM_CHANNEL_4</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:785</div></div>
<div class="ttc" id="agroup___t_i_m___channel_html_gae7a7e7ef775b2cce4dc5da3821c0703f"><div class="ttname"><a href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a></div><div class="ttdeci">#define TIM_CHANNEL_5</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:786</div></div>
</div><!-- fragment -->
<p>Disable fast mode for a given channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
<li>TIM_CHANNEL_5: TIM Channel 5 selected </li>
<li>TIM_CHANNEL_6: TIM Channel 6 selected </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>When fast mode is disabled CCx output behaves normally depending on counter and CCRx values even when the trigger is ON. The minimum delay to activate CCx output when an active edge occurs on the trigger input is 5 clock cycles. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3e0ec4eb797b54c408a3be067f41a2f8" name="ga3e0ec4eb797b54c408a3be067f41a2f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e0ec4eb797b54c408a3be067f41a2f8">&#9670;&#160;</a></span>__HAL_TIM_DISABLE_OCxPRELOAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_DISABLE_OCxPRELOAD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1aa54ddf87a4b339881a8d5368ec80eb">~TIM_CCMR1_OC1PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabddbf508732039730125ab3e87e9d370">~TIM_CCMR1_OC2PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga276fd2250d2b085b73ef51cb4c099d24">~TIM_CCMR2_OC3PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3e951cd3f6593e321cf79b662a1deaaa">~TIM_CCMR2_OC4PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga2efaf0e7c00e772ba4662978f4793666">~TIM_CCMR3_OC5PE</a>) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga421f1263c2900e4c952424d5cb062476">~TIM_CCMR3_OC6PE</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1aa54ddf87a4b339881a8d5368ec80eb"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1aa54ddf87a4b339881a8d5368ec80eb">TIM_CCMR1_OC1PE</a></div><div class="ttdeci">#define TIM_CCMR1_OC1PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19644</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga276fd2250d2b085b73ef51cb4c099d24"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga276fd2250d2b085b73ef51cb4c099d24">TIM_CCMR2_OC3PE</a></div><div class="ttdeci">#define TIM_CCMR2_OC3PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19725</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga2efaf0e7c00e772ba4662978f4793666"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga2efaf0e7c00e772ba4662978f4793666">TIM_CCMR3_OC5PE</a></div><div class="ttdeci">#define TIM_CCMR3_OC5PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:20007</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga3e951cd3f6593e321cf79b662a1deaaa"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga3e951cd3f6593e321cf79b662a1deaaa">TIM_CCMR2_OC4PE</a></div><div class="ttdeci">#define TIM_CCMR2_OC4PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19750</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga421f1263c2900e4c952424d5cb062476"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga421f1263c2900e4c952424d5cb062476">TIM_CCMR3_OC6PE</a></div><div class="ttdeci">#define TIM_CCMR3_OC6PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:20026</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabddbf508732039730125ab3e87e9d370"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabddbf508732039730125ab3e87e9d370">TIM_CCMR1_OC2PE</a></div><div class="ttdeci">#define TIM_CCMR1_OC2PE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19669</div></div>
</div><!-- fragment -->
<p>Reset the TIM Output compare preload. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
<li>TIM_CHANNEL_5: TIM Channel 5 selected </li>
<li>TIM_CHANNEL_6: TIM Channel 6 selected </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1a90544705059e9f19f991651623b0c0" name="ga1a90544705059e9f19f991651623b0c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a90544705059e9f19f991651623b0c0">&#9670;&#160;</a></span>__HAL_TIM_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_ENABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CR1|=(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga93d86355e5e3b399ed45e1ca83abed2a">TIM_CR1_CEN</a>))</div>
</div><!-- fragment -->
<p>Enable the TIM peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabb91ccd46cd7204c87170a1ea5b38135" name="gabb91ccd46cd7204c87170a1ea5b38135"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabb91ccd46cd7204c87170a1ea5b38135">&#9670;&#160;</a></span>__HAL_TIM_ENABLE_DMA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_ENABLE_DMA</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__DMA__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;DIER |= (__DMA__))</div>
</div><!-- fragment -->
<p>Enable the specified DMA request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__DMA__</td><td>specifies the TIM DMA request to enable. This parameter can be one of the following values: <ul>
<li>TIM_DMA_UPDATE: Update DMA request </li>
<li>TIM_DMA_CC1: Capture/Compare 1 DMA request </li>
<li>TIM_DMA_CC2: Capture/Compare 2 DMA request </li>
<li>TIM_DMA_CC3: Capture/Compare 3 DMA request </li>
<li>TIM_DMA_CC4: Capture/Compare 4 DMA request </li>
<li>TIM_DMA_COM: Commutation DMA request </li>
<li>TIM_DMA_TRIGGER: Trigger DMA request </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga4d69943bc4716743c78e3194e259097e" name="ga4d69943bc4716743c78e3194e259097e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d69943bc4716743c78e3194e259097e">&#9670;&#160;</a></span>__HAL_TIM_ENABLE_IT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_ENABLE_IT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__INTERRUPT__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;DIER |= (__INTERRUPT__))</div>
</div><!-- fragment -->
<p>Enable the specified TIM interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__INTERRUPT__</td><td>specifies the TIM interrupt source to enable. This parameter can be one of the following values: <ul>
<li>TIM_IT_UPDATE: Update interrupt </li>
<li>TIM_IT_CC1: Capture/Compare 1 interrupt </li>
<li>TIM_IT_CC2: Capture/Compare 2 interrupt </li>
<li>TIM_IT_CC3: Capture/Compare 3 interrupt </li>
<li>TIM_IT_CC4: Capture/Compare 4 interrupt </li>
<li>TIM_IT_COM: Commutation interrupt </li>
<li>TIM_IT_TRIGGER: Trigger interrupt </li>
<li>TIM_IT_BREAK: Break interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga390795eb198214e5d4ed235ae3f751e4" name="ga390795eb198214e5d4ed235ae3f751e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga390795eb198214e5d4ed235ae3f751e4">&#9670;&#160;</a></span>__HAL_TIM_ENABLE_OCxFAST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_ENABLE_OCxFAST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab9c5878e85ce02c22d8a374deebd1b6e">TIM_CCMR1_OC1FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3bf610cf77c3c6c936ce7c4f85992e6c">TIM_CCMR1_OC2FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae6d8d2847058747ce23a648668ce4dba">TIM_CCMR2_OC3FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga70dc197250c2699d470aea1a7a42ad57">TIM_CCMR2_OC4FE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab1bfc494938e6bc6cecf58fe5200956a">TIM_CCMR3_OC5FE</a>) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga0edb08af3da878d46153477508fbbbf8">TIM_CCMR3_OC6FE</a>))</div>
</div><!-- fragment -->
<p>Enable fast mode for a given channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
<li>TIM_CHANNEL_5: TIM Channel 5 selected </li>
<li>TIM_CHANNEL_6: TIM Channel 6 selected </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>When fast mode is enabled an active edge on the trigger input acts like a compare match on CCx output. Delay to sample the trigger input and to activate CCx output is reduced to 3 clock cycles. </dd>
<dd>
Fast mode acts only if the channel is configured in PWM1 or PWM2 mode. </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga199e848f0a301987a500faea0db2dd70" name="ga199e848f0a301987a500faea0db2dd70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga199e848f0a301987a500faea0db2dd70">&#9670;&#160;</a></span>__HAL_TIM_ENABLE_OCxPRELOAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_ENABLE_OCxPRELOAD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1aa54ddf87a4b339881a8d5368ec80eb">TIM_CCMR1_OC1PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabddbf508732039730125ab3e87e9d370">TIM_CCMR1_OC2PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga276fd2250d2b085b73ef51cb4c099d24">TIM_CCMR2_OC3PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3e951cd3f6593e321cf79b662a1deaaa">TIM_CCMR2_OC4PE</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga2efaf0e7c00e772ba4662978f4793666">TIM_CCMR3_OC5PE</a>) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCMR3 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga421f1263c2900e4c952424d5cb062476">TIM_CCMR3_OC6PE</a>))</div>
</div><!-- fragment -->
<p>Set the TIM Output compare preload. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
<li>TIM_CHANNEL_5: TIM Channel 5 selected </li>
<li>TIM_CHANNEL_6: TIM Channel 6 selected </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa7a5c7645695bad15bacd402513a028a" name="gaa7a5c7645695bad15bacd402513a028a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa7a5c7645695bad15bacd402513a028a">&#9670;&#160;</a></span>__HAL_TIM_GET_AUTORELOAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_AUTORELOAD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;ARR)</div>
</div><!-- fragment -->
<p>Get the TIM Autoreload Register value on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">16-bit</td><td>or 32-bit value of the timer auto-reload register(TIMx_ARR) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae6bc91bb5940bce52828c690f24001b8" name="gae6bc91bb5940bce52828c690f24001b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae6bc91bb5940bce52828c690f24001b8">&#9670;&#160;</a></span>__HAL_TIM_GET_CLOCKDIVISION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_CLOCKDIVISION</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CR1 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacacc4ff7e5b75fd2e4e6b672ccd33a72">TIM_CR1_CKD</a>)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gacacc4ff7e5b75fd2e4e6b672ccd33a72"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gacacc4ff7e5b75fd2e4e6b672ccd33a72">TIM_CR1_CKD</a></div><div class="ttdeci">#define TIM_CR1_CKD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19397</div></div>
</div><!-- fragment -->
<p>Get the TIM Clock Division value on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>clock division can be one of the following values: <ul>
<li>TIM_CLOCKDIVISION_DIV1: tDTS=tCK_INT </li>
<li>TIM_CLOCKDIVISION_DIV2: tDTS=2*tCK_INT </li>
<li>TIM_CLOCKDIVISION_DIV4: tDTS=4*tCK_INT </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa40722f56910966e1da5241b610eed84" name="gaa40722f56910966e1da5241b610eed84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa40722f56910966e1da5241b610eed84">&#9670;&#160;</a></span>__HAL_TIM_GET_COMPARE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_COMPARE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR1) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR2) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR3) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR4) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR5) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCR6))</div>
</div><!-- fragment -->
<p>Get the TIM Capture Compare Register value on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channel associated with the capture compare register This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: get capture/compare 1 register value </li>
<li>TIM_CHANNEL_2: get capture/compare 2 register value </li>
<li>TIM_CHANNEL_3: get capture/compare 3 register value </li>
<li>TIM_CHANNEL_4: get capture/compare 4 register value </li>
<li>TIM_CHANNEL_5: get capture/compare 5 register value </li>
<li>TIM_CHANNEL_6: get capture/compare 6 register value </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">16-bit</td><td>or 32-bit value of the capture/compare register (TIMx_CCRy) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf1af08014b9d06efbbb091d58d47c8ba" name="gaf1af08014b9d06efbbb091d58d47c8ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf1af08014b9d06efbbb091d58d47c8ba">&#9670;&#160;</a></span>__HAL_TIM_GET_COUNTER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_COUNTER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CNT)</div>
</div><!-- fragment -->
<p>Get the TIM Counter Register value on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">16-bit</td><td>or 32-bit value of the timer counter register (TIMx_CNT) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga96d98c66ad9d85f00c148de99888ef19" name="ga96d98c66ad9d85f00c148de99888ef19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga96d98c66ad9d85f00c148de99888ef19">&#9670;&#160;</a></span>__HAL_TIM_GET_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_FLAG</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__FLAG__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((__HANDLE__)-&gt;Instance-&gt;SR &amp;(__FLAG__)) == (__FLAG__))</div>
</div><!-- fragment -->
<p>Check whether the specified TIM interrupt flag is set or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__FLAG__</td><td>specifies the TIM interrupt flag to check. This parameter can be one of the following values: <ul>
<li>TIM_FLAG_UPDATE: Update interrupt flag </li>
<li>TIM_FLAG_CC1: Capture/Compare 1 interrupt flag </li>
<li>TIM_FLAG_CC2: Capture/Compare 2 interrupt flag </li>
<li>TIM_FLAG_CC3: Capture/Compare 3 interrupt flag </li>
<li>TIM_FLAG_CC4: Capture/Compare 4 interrupt flag </li>
<li>TIM_FLAG_CC5: Compare 5 interrupt flag </li>
<li>TIM_FLAG_CC6: Compare 6 interrupt flag </li>
<li>TIM_FLAG_COM: Commutation interrupt flag </li>
<li>TIM_FLAG_TRIGGER: Trigger interrupt flag </li>
<li>TIM_FLAG_BREAK: Break interrupt flag </li>
<li>TIM_FLAG_BREAK2: Break 2 interrupt flag </li>
<li>TIM_FLAG_SYSTEM_BREAK: System Break interrupt flag </li>
<li>TIM_FLAG_CC1OF: Capture/Compare 1 overcapture flag </li>
<li>TIM_FLAG_CC2OF: Capture/Compare 2 overcapture flag </li>
<li>TIM_FLAG_CC3OF: Capture/Compare 3 overcapture flag </li>
<li>TIM_FLAG_CC4OF: Capture/Compare 4 overcapture flag </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of <b>FLAG</b> (TRUE or FALSE). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabfeec6b3c67a5747c7dbd20aff61d8e2" name="gabfeec6b3c67a5747c7dbd20aff61d8e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfeec6b3c67a5747c7dbd20aff61d8e2">&#9670;&#160;</a></span>__HAL_TIM_GET_ICPRESCALER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_ICPRESCALER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab46b7186665f5308cd2ca52acfb63e72">TIM_CCMR1_IC1PSC</a>) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? (((__HANDLE__)-&gt;Instance-&gt;CCMR1 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5e8e704f9ce5742f45e15e3b3126aa9d">TIM_CCMR1_IC2PSC</a>) &gt;&gt; 8U) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gafc3d11f2e968752bc9ec7131c986c3a6">TIM_CCMR2_IC3PSC</a>) :\</div>
<div class="line">   (((__HANDLE__)-&gt;Instance-&gt;CCMR2 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6fd7591e2de10272f7fafb08cdd1b7b0">TIM_CCMR2_IC4PSC</a>)) &gt;&gt; 8U)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5e8e704f9ce5742f45e15e3b3126aa9d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5e8e704f9ce5742f45e15e3b3126aa9d">TIM_CCMR1_IC2PSC</a></div><div class="ttdeci">#define TIM_CCMR1_IC2PSC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19701</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga6fd7591e2de10272f7fafb08cdd1b7b0"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga6fd7591e2de10272f7fafb08cdd1b7b0">TIM_CCMR2_IC4PSC</a></div><div class="ttdeci">#define TIM_CCMR2_IC4PSC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19782</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab46b7186665f5308cd2ca52acfb63e72"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab46b7186665f5308cd2ca52acfb63e72">TIM_CCMR1_IC1PSC</a></div><div class="ttdeci">#define TIM_CCMR1_IC1PSC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19687</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gafc3d11f2e968752bc9ec7131c986c3a6"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gafc3d11f2e968752bc9ec7131c986c3a6">TIM_CCMR2_IC3PSC</a></div><div class="ttdeci">#define TIM_CCMR2_IC3PSC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19768</div></div>
</div><!-- fragment -->
<p>Get the TIM Input Capture prescaler on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: get input capture 1 prescaler value </li>
<li>TIM_CHANNEL_2: get input capture 2 prescaler value </li>
<li>TIM_CHANNEL_3: get input capture 3 prescaler value </li>
<li>TIM_CHANNEL_4: get input capture 4 prescaler value </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>input capture prescaler can be one of the following values: <ul>
<li>TIM_ICPSC_DIV1: no prescaler </li>
<li>TIM_ICPSC_DIV2: capture is done once every 2 events </li>
<li>TIM_ICPSC_DIV4: capture is done once every 4 events </li>
<li>TIM_ICPSC_DIV8: capture is done once every 8 events </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga644babf93470a6eee6bce8906c4da5c5" name="ga644babf93470a6eee6bce8906c4da5c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga644babf93470a6eee6bce8906c4da5c5">&#9670;&#160;</a></span>__HAL_TIM_GET_IT_SOURCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_IT_SOURCE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__INTERRUPT__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                             ((((__HANDLE__)-&gt;Instance-&gt;DIER &amp; (__INTERRUPT__)) \</div>
<div class="line">                                                             == (__INTERRUPT__)) ? SET : RESET)</div>
</div><!-- fragment -->
<p>Check whether the specified TIM interrupt source is enabled or not. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
    <tr><td class="paramname">__INTERRUPT__</td><td>specifies the TIM interrupt source to check. This parameter can be one of the following values: <ul>
<li>TIM_IT_UPDATE: Update interrupt </li>
<li>TIM_IT_CC1: Capture/Compare 1 interrupt </li>
<li>TIM_IT_CC2: Capture/Compare 2 interrupt </li>
<li>TIM_IT_CC3: Capture/Compare 3 interrupt </li>
<li>TIM_IT_CC4: Capture/Compare 4 interrupt </li>
<li>TIM_IT_COM: Commutation interrupt </li>
<li>TIM_IT_TRIGGER: Trigger interrupt </li>
<li>TIM_IT_BREAK: Break interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>state of TIM_IT (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga12126f9a7655afcd862fc2e82686e9b9" name="ga12126f9a7655afcd862fc2e82686e9b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga12126f9a7655afcd862fc2e82686e9b9">&#9670;&#160;</a></span>__HAL_TIM_GET_UIFCPY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_GET_UIFCPY</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__COUNTER__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((__COUNTER__) &amp; (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9060f1ca4c5df1ab6e70af699ac71a16">TIM_CNT_UIFCPY</a>)) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9060f1ca4c5df1ab6e70af699ac71a16">TIM_CNT_UIFCPY</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga9060f1ca4c5df1ab6e70af699ac71a16"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga9060f1ca4c5df1ab6e70af699ac71a16">TIM_CNT_UIFCPY</a></div><div class="ttdeci">#define TIM_CNT_UIFCPY</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19858</div></div>
</div><!-- fragment --><pre class="fragment">@brief  Get update interrupt flag (UIF) copy status.
@param  __COUNTER__ Counter value.
@retval The state of UIFCPY (TRUE or FALSE).
</pre><p> mode. </p>

</div>
</div>
<a id="gac73f5e7669d92971830481e7298e98ba" name="gac73f5e7669d92971830481e7298e98ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac73f5e7669d92971830481e7298e98ba">&#9670;&#160;</a></span>__HAL_TIM_IS_TIM_COUNTING_DOWN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_IS_TIM_COUNTING_DOWN</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((__HANDLE__)-&gt;Instance-&gt;CR1 &amp;(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacea10770904af189f3aaeb97b45722aa">TIM_CR1_DIR</a>)) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacea10770904af189f3aaeb97b45722aa">TIM_CR1_DIR</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gacea10770904af189f3aaeb97b45722aa"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gacea10770904af189f3aaeb97b45722aa">TIM_CR1_DIR</a></div><div class="ttdeci">#define TIM_CR1_DIR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19383</div></div>
</div><!-- fragment -->
<p>Indicates whether or not the TIM Counter is used as downcounter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">False</td><td>(Counter used as upcounter) or True (Counter used as downcounter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This macro is particularly useful to get the counting mode when the timer operates in Center-aligned mode or Encoder mode. </dd></dl>

</div>
</div>
<a id="ga69d63e147faeca8909e9679f684c0325" name="ga69d63e147faeca8909e9679f684c0325"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga69d63e147faeca8909e9679f684c0325">&#9670;&#160;</a></span>__HAL_TIM_MOE_DISABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_MOE_DISABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span> { \</div>
<div class="line">    if (((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxE_MASK) == 0UL) \</div>
<div class="line">    { \</div>
<div class="line">      if(((__HANDLE__)-&gt;Instance-&gt;CCER &amp; TIM_CCER_CCxNE_MASK) == 0UL) \</div>
<div class="line">      { \</div>
<div class="line">        (__HANDLE__)-&gt;Instance-&gt;BDTR &amp;= ~(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga277a096614829feba2d0a4fbb7d3dffc">TIM_BDTR_MOE</a>); \</div>
<div class="line">      } \</div>
<div class="line">    } \</div>
<div class="line">  } <span class="keywordflow">while</span>(0)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga277a096614829feba2d0a4fbb7d3dffc"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga277a096614829feba2d0a4fbb7d3dffc">TIM_BDTR_MOE</a></div><div class="ttdeci">#define TIM_BDTR_MOE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19949</div></div>
</div><!-- fragment -->
<p>Disable the TIM main Output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The Main Output Enable of a timer instance is disabled only if all the CCx and CCxN channels have been disabled </dd></dl>

</div>
</div>
<a id="gaa5c4053e8e57dc234efecbb698287b55" name="gaa5c4053e8e57dc234efecbb698287b55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5c4053e8e57dc234efecbb698287b55">&#9670;&#160;</a></span>__HAL_TIM_MOE_DISABLE_UNCONDITIONALLY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_MOE_DISABLE_UNCONDITIONALLY</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(__HANDLE__)-&gt;Instance-&gt;BDTR &amp;= ~(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga277a096614829feba2d0a4fbb7d3dffc">TIM_BDTR_MOE</a>)</div>
</div><!-- fragment -->
<p>Disable the TIM main Output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The Main Output Enable of a timer instance is disabled unconditionally </dd></dl>

</div>
</div>
<a id="ga04890dcef3ed061854721a3672585607" name="ga04890dcef3ed061854721a3672585607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga04890dcef3ed061854721a3672585607">&#9670;&#160;</a></span>__HAL_TIM_MOE_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_MOE_ENABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;BDTR|=(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga277a096614829feba2d0a4fbb7d3dffc">TIM_BDTR_MOE</a>))</div>
</div><!-- fragment -->
<p>Enable the TIM main Output. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gace20fd4e38231b9682fbc83a80ec19a3" name="gace20fd4e38231b9682fbc83a80ec19a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace20fd4e38231b9682fbc83a80ec19a3">&#9670;&#160;</a></span>__HAL_TIM_RESET_HANDLE_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_RESET_HANDLE_STATE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                      <span class="keywordflow">do</span> {                                                               \</div>
<div class="line">                                                      (__HANDLE__)-&gt;State            = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc">HAL_TIM_STATE_RESET</a>;         \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[0]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[1]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[2]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[3]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[4]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelState[5]  = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelNState[0] = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelNState[1] = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelNState[2] = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;ChannelNState[3] = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a>; \</div>
<div class="line">                                                      (__HANDLE__)-&gt;DMABurstState    = <a class="code hl_enumvalue" href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8">HAL_DMA_BURST_STATE_RESET</a>;   \</div>
<div class="line">                                                     } <span class="keywordflow">while</span>(0)</div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga1a70fcbe9952e18af5c890e216a15f34a430f7e41a278868bc1a7c5de6a08dc94">HAL_TIM_CHANNEL_STATE_RESET</a></div><div class="ttdeci">@ HAL_TIM_CHANNEL_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:322</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8"><div class="ttname"><a href="group___t_i_m___exported___types.html#gga9b87df539778a60ea940a9d5ba793f7ca98c26cb59bb0c07b7f020d7ff8678bb8">HAL_DMA_BURST_STATE_RESET</a></div><div class="ttdeci">@ HAL_DMA_BURST_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:332</div></div>
<div class="ttc" id="agroup___t_i_m___exported___types_html_ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc"><div class="ttname"><a href="group___t_i_m___exported___types.html#ggae0994cf5970e56ca4903e9151f40010ca28011b79e60b74a6c55947c505c51cbc">HAL_TIM_STATE_RESET</a></div><div class="ttdeci">@ HAL_TIM_STATE_RESET</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_tim.h:310</div></div>
</div><!-- fragment -->
<p>Reset TIM handle state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gace8f6dae3653111344f4ff6bbfde7d2a" name="gace8f6dae3653111344f4ff6bbfde7d2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace8f6dae3653111344f4ff6bbfde7d2a">&#9670;&#160;</a></span>__HAL_TIM_SELECT_CCDMAREQUEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SELECT_CCDMAREQUEST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CCDMA__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  MODIFY_REG((__HANDLE__)-&gt;Instance-&gt;CR2, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gade656832d3ec303a2a7a422638dd560e">TIM_CR2_CCDS</a>, (__CCDMA__))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gade656832d3ec303a2a7a422638dd560e"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gade656832d3ec303a2a7a422638dd560e">TIM_CR2_CCDS</a></div><div class="ttdeci">#define TIM_CR2_CCDS</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19414</div></div>
</div><!-- fragment -->
<p>Select the Capture/compare DMA request source. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>specifies the TIM Handle. </td></tr>
    <tr><td class="paramname">__CCDMA__</td><td>specifies Capture/compare DMA request source This parameter can be one of the following values: <ul>
<li>TIM_CCDMAREQUEST_CC: CCx DMA request generated on Capture/Compare event </li>
<li>TIM_CCDMAREQUEST_UPDATE: CCx DMA request generated on Update event </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1e6300cab1e34ecaaf490dc7d4812d69" name="ga1e6300cab1e34ecaaf490dc7d4812d69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e6300cab1e34ecaaf490dc7d4812d69">&#9670;&#160;</a></span>__HAL_TIM_SET_AUTORELOAD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_AUTORELOAD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__AUTORELOAD__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span>{                                                    \</div>
<div class="line">    (__HANDLE__)-&gt;Instance-&gt;ARR = (__AUTORELOAD__);  \</div>
<div class="line">    (__HANDLE__)-&gt;Init.Period = (__AUTORELOAD__);    \</div>
<div class="line">  } <span class="keywordflow">while</span>(0)</div>
</div><!-- fragment -->
<p>Set the TIM Autoreload Register value on runtime without calling another time any Init function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__AUTORELOAD__</td><td>specifies the Counter register new value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gac5d6989516caa67fae23a9329228cdc7" name="gac5d6989516caa67fae23a9329228cdc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac5d6989516caa67fae23a9329228cdc7">&#9670;&#160;</a></span>__HAL_TIM_SET_CAPTUREPOLARITY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_CAPTUREPOLARITY</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__POLARITY__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span>{                                                                     \</div>
<div class="line">    TIM_RESET_CAPTUREPOLARITY((__HANDLE__), (__CHANNEL__));               \</div>
<div class="line">    TIM_SET_CAPTUREPOLARITY((__HANDLE__), (__CHANNEL__), (__POLARITY__)); \</div>
<div class="line">  }<span class="keywordflow">while</span>(0)</div>
</div><!-- fragment -->
<p>Set the TIM Capture x input polarity on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
</ul>
</td></tr>
    <tr><td class="paramname">__POLARITY__</td><td>Polarity for TIx source <ul>
<li>TIM_INPUTCHANNELPOLARITY_RISING: Rising Edge </li>
<li>TIM_INPUTCHANNELPOLARITY_FALLING: Falling Edge </li>
<li>TIM_INPUTCHANNELPOLARITY_BOTHEDGE: Rising and Falling Edge </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8aa84d77c670890408092630f9b2bdc4" name="ga8aa84d77c670890408092630f9b2bdc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8aa84d77c670890408092630f9b2bdc4">&#9670;&#160;</a></span>__HAL_TIM_SET_CLOCKDIVISION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_CLOCKDIVISION</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CKD__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span>{                                                   \</div>
<div class="line">    (__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= (~<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacacc4ff7e5b75fd2e4e6b672ccd33a72">TIM_CR1_CKD</a>);  \</div>
<div class="line">    (__HANDLE__)-&gt;Instance-&gt;CR1 |= (__CKD__);       \</div>
<div class="line">    (__HANDLE__)-&gt;Init.ClockDivision = (__CKD__);   \</div>
<div class="line">  } <span class="keywordflow">while</span>(0)</div>
</div><!-- fragment -->
<p>Set the TIM Clock Division value on runtime without calling another time any Init function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CKD__</td><td>specifies the clock division value. This parameter can be one of the following value: <ul>
<li>TIM_CLOCKDIVISION_DIV1: tDTS=tCK_INT </li>
<li>TIM_CLOCKDIVISION_DIV2: tDTS=2*tCK_INT </li>
<li>TIM_CLOCKDIVISION_DIV4: tDTS=4*tCK_INT </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga300d0c9624c3b072d3afeb7cef639b66" name="ga300d0c9624c3b072d3afeb7cef639b66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga300d0c9624c3b072d3afeb7cef639b66">&#9670;&#160;</a></span>__HAL_TIM_SET_COMPARE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_COMPARE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__COMPARE__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  (((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga6b1541e4a49d62610899e24bf23f4879">TIM_CHANNEL_1</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR1 = (__COMPARE__)) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga33e02d43345a7ac5886f01b39e4f7ccd">TIM_CHANNEL_2</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR2 = (__COMPARE__)) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#ga4ea100c1789b178f3cb46721b7257e2d">TIM_CHANNEL_3</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR3 = (__COMPARE__)) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gad59ef74820ee8bf77fa1f8d589fde2ac">TIM_CHANNEL_4</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR4 = (__COMPARE__)) :\</div>
<div class="line">   ((__CHANNEL__) == <a class="code hl_define" href="group___t_i_m___channel.html#gae7a7e7ef775b2cce4dc5da3821c0703f">TIM_CHANNEL_5</a>) ? ((__HANDLE__)-&gt;Instance-&gt;CCR5 = (__COMPARE__)) :\</div>
<div class="line">   ((__HANDLE__)-&gt;Instance-&gt;CCR6 = (__COMPARE__)))</div>
</div><!-- fragment -->
<p>Set the TIM Capture Compare Register value on runtime without calling another time ConfigChannel function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
<li>TIM_CHANNEL_5: TIM Channel 5 selected </li>
<li>TIM_CHANNEL_6: TIM Channel 6 selected </li>
</ul>
</td></tr>
    <tr><td class="paramname">__COMPARE__</td><td>specifies the Capture Compare register new value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9746ac75e4cd25cec1a9ebac8cb82b97" name="ga9746ac75e4cd25cec1a9ebac8cb82b97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9746ac75e4cd25cec1a9ebac8cb82b97">&#9670;&#160;</a></span>__HAL_TIM_SET_COUNTER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_COUNTER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__COUNTER__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CNT = (__COUNTER__))</div>
</div><!-- fragment -->
<p>Set the TIM Counter Register value on runtime. Note Please check if the bit 31 of CNT register is used as UIF copy or not, this may affect the counter range in case of 32 bits counter TIM instance. Bit 31 of CNT can be enabled/disabled using <a class="el" href="#ga70b3690dfed282ade70d503801b8bfd0">__HAL_TIM_UIFREMAP_ENABLE()</a>/__HAL_TIM_UIFREMAP_DISABLE() macros. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__COUNTER__</td><td>specifies the Counter register new value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaeb106399b95ef02cec502f58276a0e92" name="gaeb106399b95ef02cec502f58276a0e92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb106399b95ef02cec502f58276a0e92">&#9670;&#160;</a></span>__HAL_TIM_SET_ICPRESCALER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_ICPRESCALER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CHANNEL__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ICPSC__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span>{                                                    \</div>
<div class="line">    TIM_RESET_ICPRESCALERVALUE((__HANDLE__), (__CHANNEL__));  \</div>
<div class="line">    TIM_SET_ICPRESCALERVALUE((__HANDLE__), (__CHANNEL__), (__ICPSC__)); \</div>
<div class="line">  } <span class="keywordflow">while</span>(0)</div>
</div><!-- fragment -->
<p>Set the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__CHANNEL__</td><td>TIM Channels to be configured. This parameter can be one of the following values: <ul>
<li>TIM_CHANNEL_1: TIM Channel 1 selected </li>
<li>TIM_CHANNEL_2: TIM Channel 2 selected </li>
<li>TIM_CHANNEL_3: TIM Channel 3 selected </li>
<li>TIM_CHANNEL_4: TIM Channel 4 selected </li>
</ul>
</td></tr>
    <tr><td class="paramname">__ICPSC__</td><td>specifies the Input Capture4 prescaler new value. This parameter can be one of the following values: <ul>
<li>TIM_ICPSC_DIV1: no prescaler </li>
<li>TIM_ICPSC_DIV2: capture is done once every 2 events </li>
<li>TIM_ICPSC_DIV4: capture is done once every 4 events </li>
<li>TIM_ICPSC_DIV8: capture is done once every 8 events </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gafdc5a06eab07e0c24e729fd492bdb27c" name="gafdc5a06eab07e0c24e729fd492bdb27c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafdc5a06eab07e0c24e729fd492bdb27c">&#9670;&#160;</a></span>__HAL_TIM_SET_PRESCALER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_SET_PRESCALER</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__PRESC__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;PSC = (__PRESC__))</div>
</div><!-- fragment -->
<p>Set the TIM Prescaler on runtime. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
    <tr><td class="paramname">__PRESC__</td><td>specifies the Prescaler new value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3ad980b67f6a9d43e97cd71603421ad8" name="ga3ad980b67f6a9d43e97cd71603421ad8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ad980b67f6a9d43e97cd71603421ad8">&#9670;&#160;</a></span>__HAL_TIM_UIFREMAP_DISABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_UIFREMAP_DISABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((__HANDLE__)-&gt;Instance-&gt;CR1 &amp;= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0c8b29f2a8d1426cf31270643d811c7">~TIM_CR1_UIFREMAP</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf0c8b29f2a8d1426cf31270643d811c7"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf0c8b29f2a8d1426cf31270643d811c7">TIM_CR1_UIFREMAP</a></div><div class="ttdeci">#define TIM_CR1_UIFREMAP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19403</div></div>
</div><!-- fragment --><pre class="fragment">@brief  Disable update interrupt flag (UIF) remapping.
@param  __HANDLE__ TIM handle.
@retval None
</pre><p> mode. </p>

</div>
</div>
<a id="ga70b3690dfed282ade70d503801b8bfd0" name="ga70b3690dfed282ade70d503801b8bfd0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70b3690dfed282ade70d503801b8bfd0">&#9670;&#160;</a></span>__HAL_TIM_UIFREMAP_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_UIFREMAP_ENABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">(((__HANDLE__)-&gt;Instance-&gt;CR1 |= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0c8b29f2a8d1426cf31270643d811c7">TIM_CR1_UIFREMAP</a>))</div>
</div><!-- fragment --><pre class="fragment">@brief  Force a continuous copy of the update interrupt flag (UIF) into the timer counter register (bit 31).
@note This allows both the counter value and a potential roll-over condition signalled by the UIFCPY flag to be read
      in an atomic way.
@param  __HANDLE__ TIM handle.
@retval None
</pre><p> mode. </p>

</div>
</div>
<a id="gafacb551a4c537e62a0fe740b2f12236c" name="gafacb551a4c537e62a0fe740b2f12236c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafacb551a4c537e62a0fe740b2f12236c">&#9670;&#160;</a></span>__HAL_TIM_URS_DISABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_URS_DISABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CR1&amp;=<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga06c997c2c23e8bef7ca07579762c113b">~TIM_CR1_URS</a>)</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga06c997c2c23e8bef7ca07579762c113b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga06c997c2c23e8bef7ca07579762c113b">TIM_CR1_URS</a></div><div class="ttdeci">#define TIM_CR1_URS</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:19377</div></div>
</div><!-- fragment -->
<p>Reset the Update Request Source (URS) bit of the TIMx_CR1 register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>When the URS bit of the TIMx_CR1 register is reset, any of the following events generate an update interrupt or DMA request (if enabled): <a class="el" href="struct__.html">_</a> Counter overflow underflow <a class="el" href="struct__.html">_</a> Setting the UG bit <a class="el" href="struct__.html">_</a> Update generation through the slave mode controller </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3b06856bd6d7e10cfff342b1726db51d" name="ga3b06856bd6d7e10cfff342b1726db51d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3b06856bd6d7e10cfff342b1726db51d">&#9670;&#160;</a></span>__HAL_TIM_URS_ENABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define __HAL_TIM_URS_ENABLE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CR1|= <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga06c997c2c23e8bef7ca07579762c113b">TIM_CR1_URS</a>)</div>
</div><!-- fragment -->
<p>Set the Update Request Source (URS) bit of the TIMx_CR1 register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">__HANDLE__</td><td>TIM handle. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>When the URS bit of the TIMx_CR1 register is set, only counter overflow/underflow generates an update interrupt or DMA request (if enabled) </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
